package com.ruoyi.develop.lnHouses.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间对象 ln_houses
 *
 * @author qh
 * @date 2024-07-21
 */
public class LnHouses extends BaseEntity {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private String id;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String name;

    /** 位置 */
    @Excel(name = "位置")
    private String addr;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactMan;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactNo;

    /** 仓库类型 */
    @Excel(name = "仓库类型")
    private String houseInfo;

    /** 仓库状态（0正常 1停用） */
    @Excel(name = "仓库状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setAddr(String addr)
            {
            this.addr = addr;
            }

    public String getAddr()
            {
            return addr;
            }
    public void setContactMan(String contactMan)
            {
            this.contactMan = contactMan;
            }

    public String getContactMan()
            {
            return contactMan;
            }
    public void setContactNo(String contactNo)
            {
            this.contactNo = contactNo;
            }

    public String getContactNo()
            {
            return contactNo;
            }
    public void setHouseInfo(String houseInfo)
            {
            this.houseInfo = houseInfo;
            }

    public String getHouseInfo()
            {
            return houseInfo;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("addr",getAddr())
            .append("contactMan",getContactMan())
            .append("contactNo",getContactNo())
            .append("houseInfo",getHouseInfo())
            .append("status",getStatus())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
    }
}
